WordfenceLS\Controller_WordfenceLS D

Total Complexity 296
Dependencies 35
Dependents 2
Total lines 1,101
Lines of code 890
Logical lines of code 464
Comment lines 100
Methods 54
Properties 3

Methods 54

Method Rating Maintainability Complexity Lines of code
_authenticate()
D
22
66 140
_edit_user_profile()
C
36 28 73
_admin_init()
B
38 15 72
_menu()
A
35 12 84
_init_actions()
A
44 13 38
legacy_2fa_active()
A
52 14 21
process_registration_captcha()
A
45 11 40
_install()
A
51 9 24
_admin_menu()
A
52 8 23
get_2fa_management_assets()
A
46 7 37
_is_woocommerce_login()
S
60 6 12
_login_enqueue_scripts()
S
47 4 36
render_embedded_user_2fa_management_interface()
S
55 5 20
_admin_enqueue_scripts()
S
57 5 15
_handle_woocommerce_registration()
S
65 6 8
_uninstall_plugin()
S
60 5 14
_wp_login_errors()
S
59 5 13
validate_email_verification_token()
S
68 4 6
_record_login()
S
68 4 6
_set_logged_in_cookie()
S
67 4 7
_user_register()
S
67 4 7
enqueue_2fa_management_assets()
S
64 4 9
_handle_user_2fa_management_shortcode()
S
61 3 12
process_registration_captcha_with_hooks()
S
63 3 10
_register_post()
S
66 3 8
_woocommerce_account_menu_items()
S
63 3 10
_woocommerce_account_enqueue_assets()
S
66 3 8
_handle_shortcode_prerequisites()
S
69 3 7
_wordpress_init()
S
69 3 6
_woocommerce_checkout_login_enqueue_scripts()
S
71 3 6
init_woocommerce_actions()
S
62 2 11
shared()
S
69 2 7
register_rewrite_endpoints()
S
78 2 3
does_current_page_include_shortcode()
S
74 2 4
can_user_activate_2fa_self()
S
72 2 5
_user_new_form()
S
76 2 4
should_use_core_font_awesome_styles()
S
71 2 6
disable_woocommerce_registration()
S
70 2 6
is_woocommerce_account_integration_enabled()
S
79 2 3
get_2fa_management_script_data()
S
59 1 12
refresh_rewrite_rules()
S
78 1 4
_block_xml_rpc()
S
76 1 4
purge_rewrite_rules()
S
80 1 3
has_woocommerce()
S
80 1 3
_install_plugin()
S
82 1 3
is_woocommerce_integration_enabled()
S
80 1 3
_woocommerce_integration_notice()
S
65 1 10
_recaptcha_test_notice()
S
75 1 3
_woocommerce_get_query_vars()
S
76 1 4
_jetpack_xml_rpc_notice()
S
75 1 3
_woocommerce_account_menu_content()
S
81 1 3
is_shortcode_enabled()
S
80 1 3
_woocommerce_login_enqueue_scripts()
S
77 1 4
init()
S
70 1 7